//
//  LoginResModel.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/9/25.
//

import UIKit
import ObjectMapper

class LoginResModel: Mappable {
    var code : String?
    var data : LoginDataModel?
    var msg : String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
}

class LoginDataModel: Mappable {
    var token : String?
    var member : MemberModel?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        token <- map["token"]
        member <- map["member"]
    }
}


